package zjh_20230404;

public class MyThread01 implements Runnable{
    private String name;
    private Integer time;
    public MyThread01(String name,Integer time){
        this.name = name;
        this.time = time;
    }

    @Override
    public void run() {
        for (int i = 0; i < time; i++) {
            System.out.print(name);
        }

    }
}
